home *** CD-ROM | disk | FTP | other *** search
/ Inside Mac Games Volume 4 #9 / IMG 40 Sep 1996.iso / More Goodies / More for Your Game / Escape Velocity / EV Utilities / EVBible / EVBible.rsrc / TEXT_143.txt < prev    next >
Encoding:
Text File  |  1996-08-05  |  4.0 KB  |  79 lines

  1. ‚Ä¢ The sp√∂b resource
  2.     Spob resources describe stellar objects, such as planets and space stations. (spob stands for space object) Each spob resource represents one stellar object, whose name is the name as the name of the resource. The first three fields tell EV where to put the stellar and what graphics to use for it:
  3.  
  4. xPos & yPos    The stellar's X and Y positions in the system (0, 0) is centered
  5. Type    Which graphic to use, from 0 to 63.
  6.  
  7.  
  8. The next field stores the flag bits that tell EV what many of the characteristics of the stellar are. Perform an OR operation on the following flags to get the final flag value:
  9.  
  10. 0x00000001    Can land/dock here
  11. 0x00000002    Has commodity exchange
  12. 0x00000004    Can outfit ship here
  13. 0x00000008    Can buy ships here
  14. 0x00000010    Stellar is a station instead of a planet
  15. 0x00000020    Stellar is uninhabited (no traffic control)
  16. 0x00000040    Has bar
  17. 0x00000000    Won't trade in food
  18. 0x10000000    Low food prices
  19. 0x20000000    Medium food prices
  20. 0x40000000    High food prices
  21. 0x00000000    Won't trade in industrial goods
  22. 0x01000000    Low industrial prices
  23. 0x02000000    Medium industrial prices
  24. 0x04000000    High industrial prices
  25. 0x00000000    Won't trade in medical supplies
  26. 0x00100000    Low medical prices
  27. 0x00200000    Medium medical prices
  28. 0x00400000    High medical prices
  29. 0x00000000    Won't trade in luxury goods
  30. 0x00010000    Low luxury prices
  31. 0x00020000    Medium luxury prices
  32. 0x00040000    High luxury prices
  33. 0x00000000    Won't trade in metal
  34. 0x00001000    Low metal prices
  35. 0x00002000    Medium metal prices
  36. 0x00004000    High metal prices
  37. 0x00000000    Won't trade in equipment
  38. 0x00000100    Low equipment prices
  39. 0x00000200    Medium equipment prices
  40. 0x00000400    High equipment prices
  41.  
  42.  
  43. The next field, System contains the ID number of the star system that the stellar object is in. The four flags after that tell EV what items and ships are available for purchase at this stellar:
  44.  
  45. TechLevel    What the base tech level of the stellar is. Only items and ships with TechLevels at or below this value will be available.
  46.  
  47. SpecialTech (x3)    Holds the special tech levels of this stellar. Unlike the previous field, only items and ships with exactly this TechLevel will appear here. This is useful for making low-tech worlds that also have a few high-tech items, or for flagging an item with an absurdly high TechLevel (say 15000) and then setting one of the SpecialTech fields of a particular stellar to that same value, thus making that item appear at that stellar and nowhere else.
  48.  
  49.  
  50. The next two fields contain info on the stellar's governmental affiliation:
  51.  
  52. Govt    What government controls this stellar
  53.     -1    ignored (stellar is independent)
  54.     128-255    ID number of the stellar's government
  55.  
  56. MinCoolness    The point on your record in the current system that you'll be denied landing clearance on this stellar.
  57.     -1 and below    You can be this evil before they shun you
  58.     0 and up    They have to like you this much before they let you land
  59.  
  60.  
  61. The next pair of fields tells EV which special landscape to show and which ambient sound to play.
  62.  
  63. CustPicID    Which custom landscape (333x271 PICT resource) to show
  64.     -1    No custom landscape
  65.     Anything else    ID number of PICT to load instead of the standard landscape display
  66.  
  67. CustSndID    Which ambient sound to play
  68.     -1    No ambient sound effect
  69.     Anything else    ID number of snd resource to load (must be 11kHz)
  70.  
  71.  
  72. The last two fields tell EV what kind of ships, if any, to create for the planet's defense fleet:
  73.  
  74. DefenseDude    Which type of dude to use for the defense fleet:
  75.     -1    Ignored (no defense ships)
  76.     128-255    ID number of the dude resource to use to determine the defense ships' characteristics
  77.  
  78. DefCount    The number of ships in the defense fleet. If you set this number to be above 1000, ships will be launched from the planet or station in waves. The last number in this field is the number of ships in each wave, and the first 3-4 numbers (minus 1 from the first digit) are the total number of ships in the planet's fleet. For example, a value of 1082 would be four waves of two ships for a total of eight. A value of 2005 would create waves of five ships each, with 100 ships total in the planet's defense fleet.
  79.